using System;
using System.ComponentModel.DataAnnotations;

namespace Boa.HD.AccesoDatos.Entidades
{
 public partial class HD_SolucionRapida
 {
     public HD_SolucionRapida()
     {
     }
     #region foreign Keys

     public int DefinicionProblemaId_FK {get;set;}
     private HD_DefinicionProblema DefinicionProblemaId_obj ;
     public virtual HD_DefinicionProblema DefinicionProblema
      {
          get { return DefinicionProblemaId_obj; }
          set {
                DefinicionProblemaId_obj = value;
                if (DefinicionProblemaId_obj != null) DefinicionProblemaId_FK = DefinicionProblemaId_obj.Id; 
          }
      }
     #endregion
     public virtual int   Id { get; set;}

     [Display(Name = "NroOrden")]
     public virtual int?   NroOrden { get; set;}

     [StringLength(50, ErrorMessage = "{0} debe tener al menos {2} caracteres.", MinimumLength = 2)]
     [Display(Name = "Codigo")]
     public virtual string   Codigo { get; set;}

     [StringLength(100, ErrorMessage = "{0} debe tener al menos {2} caracteres.", MinimumLength = 2)]
     [Display(Name = "Titulo")]
     public virtual string   Titulo { get; set;}

     [StringLength(200, ErrorMessage = "{0} debe tener al menos {2} caracteres.", MinimumLength = 2)]
     [Display(Name = "Descripcion")]
     public virtual string   Descripcion { get; set;}

     [Display(Name = "Imagen")]
     public virtual byte[]   Imagen { get; set;}
 }
}

